from django.urls import path
# 页面添加
from SaaSDevelResourceSettings.SaaSDevelResourceView.SaaSDevelResourceCreate import SaaSDevelResourceCreate
# 页面展示
from SaaSDevelResourceSettings.SaaSDevelResourceView.SaaSDevelResourceQuery import SaaSDevelResourceQuery
# 页面资源修改成功
from SaaSDevelResourceSettings.SaaSDevelResourceView.SaaSDevelResourceUpdate import SaaSDevelResourceUpdate
# 页面资源删除
from SaaSDevelResourceSettings.SaaSDevelResourceView.SaaSDevelResourceDelete import SaaSDevelResourceDelete

# 页面权限资源添加
from SaaSDevelResourceSettings.SaaSDevelResourceRightView.SaaSDevelResourceRightCreate import \
    SaaSDevelResourceRightCreate

# 页面权限资源展示
from SaaSDevelResourceSettings.SaaSDevelResourceRightView.SaaSDevelResourceRightQuery import SaaSDevelResourceRightQuery

"""/platform/api/"""
urlpatterns = [
    path("saas/devel/resource/query/", SaaSDevelResourceQuery.as_view()),  # 页面展示
    path("saas/devel/resource/create/", SaaSDevelResourceCreate.as_view()),  # 页面添加
    path("saas/devel/resource/update/", SaaSDevelResourceUpdate.as_view()),  # 页面资源修改成功
    path("saas/devel/resource/delete/", SaaSDevelResourceDelete.as_view()),  # 页面资源删除

    path("saas/devel/resource/right/create/", SaaSDevelResourceRightCreate.as_view()),  # 页面权限资源添加
    path("saas/devel/resource/right/query/", SaaSDevelResourceRightQuery.as_view())  # # 页面权限资源展示
]
